import ButtonModel from './components/buttonModel'
import Toast from './components/toast/index.js'
if (typeof window !== 'undefined' && window.Vue) {
  window.Vue.use(install)
}

function install (Vue) {
  Vue.component(ButtonModel.name, ButtonModel)
  Vue.use(Toast)
}

export default {
  install,
  ButtonModel,
  Toast
}
